package com.emergency.embackend.service;


import com.emergency.embackend.common.PageParams;
import com.emergency.embackend.entity.Article;
import com.emergency.embackend.entity.Video;
import com.emergency.embackend.param.VideoDataParam;
import com.emergency.embackend.param.VideoParam;
import com.emergency.embackend.vo.VideoVO;
import com.github.pagehelper.PageInfo;
import org.springframework.data.domain.Page;

import java.util.List;


/**
 * @author chddd
 * @description
 * @create 2024/2/25 21:30:55
 */

public interface WikiVideoService {
    PageInfo getVideoData(VideoDataParam videoDataParam);

    void delete(Long videoId);

    void deleteByTypeId(Long typeId);

    void update(VideoParam videoParam);

    void add(VideoParam videoParam);

    VideoVO getOne(Long videoId);

    PageInfo getVideosByCreateTimeDesc(PageParams pageParams);

    List<Video> getHotVideo();

    List<Video> getRecommendVideo(VideoDataParam videoDataParam);

    List<Video> getHistory(Long userId);

}
